package com.ruoyi.t.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 订单供应商结款对象 t_order_user_payment
 *
 * @author YY
 * @date 2025-02-06
 */
public class TOrderUserPayment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 订单id */
    @Excel(name = "订单id")
    private Long orderId;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 订单用户供应商id */
    @Excel(name = "订单用户供应商id")
    private Long userPaymentId;

    /** 出货数量 */
    @Excel(name = "出货数量")
    private Long num;

    /** 供应商结款金额 */
    @Excel(name = "供应商结款金额")
    private BigDecimal price;

    /** 还款回单 */
    @Excel(name = "还款回单")
    private String paymentImgUrl;

    /** 状态（0 订单提交 1 发货 2 送货） */
    @Excel(name = "状态", readConverterExp = "0=,订=单提交,1=,发=货,2=,送=货")
    private String status;

    private Long orderStyleId;

    public Long getOrderStyleId() {
        return orderStyleId;
    }

    public void setOrderStyleId(Long orderStyleId) {
        this.orderStyleId = orderStyleId;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setOrderId(Long orderId)
    {
        this.orderId = orderId;
    }

    public Long getOrderId()
    {
        return orderId;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setUserPaymentId(Long userPaymentId)
    {
        this.userPaymentId = userPaymentId;
    }

    public Long getUserPaymentId()
    {
        return userPaymentId;
    }
    public void setNum(Long num)
    {
        this.num = num;
    }

    public Long getNum()
    {
        return num;
    }
    public void setPrice(BigDecimal price)
    {
        this.price = price;
    }

    public BigDecimal getPrice()
    {
        return price;
    }
    public void setPaymentImgUrl(String paymentImgUrl)
    {
        this.paymentImgUrl = paymentImgUrl;
    }

    public String getPaymentImgUrl()
    {
        return paymentImgUrl;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("orderId", getOrderId())
            .append("userId", getUserId())
            .append("userPaymentId", getUserPaymentId())
            .append("num", getNum())
            .append("price", getPrice())
            .append("paymentImgUrl", getPaymentImgUrl())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
